package demo3.model;

import lombok.Data;

import java.util.Date;

/**
 * @Author quan
 * @Description 文章表
 * @Date 2023/7/25 17:21
 */
@Data
public class ArticleInfo {
    private Integer id;
    private String title;
    private String content;
    private Date createTime;
    private Date updateTime;
    private Integer rcount;
    // 方式1：包含了user对象,设置作者相关信息
//    private User user;
    //方式2：直接设置需要的属性
    private Integer uid;
    private String username;

    private String state;
}
